#En travaille!!

def octavetest(note, octa):
    if note < (note + ((octa+2) * 12)):
        note= note + (((octa+2) * 12))
    else:
        note= note - (note - ((octa+2) * 12))
    #note= note + (octa * 12)
    if note < 0:
        note=0
    if note >127:
        note=127
    return note
    

def octave(gamme, octa):
    temp=[]
    if octa >= -1 and octa <= 7:
        for i in gamme:
            temp.append(i)
        for i in range(len(temp)):
            temp[i]=temp[i]+((octa-3)*12)
    return temp  

def transpo(gamme, transpo):
    for i in range(len(gamme)):
        gamme[i]=gamme[i]+1
    return gamme

Do=[48, 50, 52, 53, 55, 57, 59, 60, 62, 64, 65, 67, 69, 71, 72]
nom=["Do# Maj", "Re Maj", "Re# Maj", "Mi Maj", "Fa Maj", "Fa# Maj", "Sol Maj", "Sol# Maj", "La Maj", "La# Maj", "Si Maj"]

for i in range(11):
    print nom[i], ":", transpo(Do, 1)